import {
    BaseEntity,
    Entity,
    Column,
    PrimaryGeneratedColumn,
} from 'typeorm'

@Entity()
class Block extends BaseEntity {
    @PrimaryGeneratedColumn('increment')
    id: number | undefined

    @Column()
    number: number = 0
}

export { Block }
